<!--{include file="oui/public/header.html"}-->
<!--{include file="oui/public/navibar.html"}-->
<!--{include file="oui/public/sidebar.html"}-->
<ul class="breadcrumb">
    <li><a>控制面板</a><span class="divider">/</span></li>
    <li><a href=<!--{Route->MakeHyperLink Controller=':gather'}-->>网站设置</a><span class="divider">/</span></li>
    <li class="active"><!--{$data.meta.title}--></li>
</ul>
<!--优雅的分隔线-->
<div class="container-fluid">
    <div class="row-fluid">
        <!--优雅的分隔线-->
        <div class="well">
            <ul class="nav nav-tabs">
                <li class="active"><a href="#option1" data-toggle="tab">头条一</a></li>
                <li class=""><a href="#option2" data-toggle="tab">头条二</a></li>
            </ul>
            <form method="post" class="form" action=<!--{$data.meta.action}-->>
            <div id="myTabContent" class="tab-content">
                <div id="option1" class="tab-pane active in">
                    <label>标题</label>
                    <input type="text" class="input-xlarge-9" id="title1" name="title[]" value=<!--{$data.base[0].title}-->>
                    <label>链接</label>
                    <div class="input-prepend">
                        <span class="add-on">http://</span>
                        <input type="text" class="input-xlarge-10" id="link1" name="link[]" value=<!--{$data.base[0].link|replace:"http://":""}-->>
                    </div>
                    <label>摘要</label>
                    <textarea class="textarea-xlarge-2" id="summary1" name="summary[]"><!--{$data.base[0].summary}--></textarea>
                    <input type="hidden" id="id1" name="id[]" value="<!--{$data.base[0].id}-->"/>
                </div>
                <div id="option2" class="tab-pane fade">
                    <label>标题</label>
                    <input type="text" class="input-xlarge-9" id="title2" name="title[]" value=<!--{$data.base[1].title}-->>
                    <label>链接</label>
                    <div class="input-prepend">
                        <span class="add-on">http://</span>
                        <input type="text" class="input-xlarge-10" id="link2" name="link[]" value=<!--{$data.base[1].link|replace:"http://":""}-->>
                    </div>
                    <label>摘要</label>
                    <textarea class="textarea-xlarge-2" id="summary2" name="summary[]"><!--{$data.base[1].summary}--></textarea>
                    <input type="hidden" id="id2" name="id[]" value="<!--{$data.base[1].id}-->"/>
                </div>
                <div class="btn-toolbar">
                    <button type="submit" class="btn btn-primary"><strong>提交</strong></button>
                </div>
            </div>
            </form>
        </div>
        <!--优雅的分隔线-3-->
        <script src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/library/trigger.upload.js></script>
        <!--优雅的分隔线-->
        <script src=<!--{$smarty.const.BUILD_PATH}-->/public/JEAR/xheditor/xheditor-1.1.14-zh-cn.min.js></script>
        <script src=<!--{$smarty.const.BUILD_PATH}-->/public/JEAR/xheditor/xheditor.initialization.js></script>
        <!--优雅的分隔线-->
        <script src=<!--{$smarty.const.BUILD_PATH}-->/public/UIR/bootstrap/plugins/datetimepicker/js/bootstrap-datetimepicker.min.js></script>
        <script src=<!--{$smarty.const.BUILD_PATH}-->/public/UIR/bootstrap/plugins/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js></script>
        <link rel="stylesheet" href=<!--{$smarty.const.BUILD_PATH}-->/public/UIR/bootstrap/plugins/datetimepicker/css/bootstrap-datetimepicker.min.css>
        <script src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/library/trigger.datetime-picker.js></script>
        <!--优雅的分隔线-->
        <script src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/news.form.js></script>
<!--{include file="oui/public/footer.html"}-->